﻿//Name=BulletMsg
//Cmd=5012

//1sourceId : 发起方
//2uid : 行为Id
//3tempId : 受击效果id
//4pos : 位置
//5dir : 方向
namespace pb
{
    [global::System.Serializable, global::ProtoBuf.ProtoContract(Name = @"BulletMsg")]
    public partial class BulletMsg : global::ProtoBuf.IExtensible
    {
        public BulletMsg() { }
        private long _sourceId;
        [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name = @"sourceId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
        public long sourceId
        {
            get { return _sourceId; }
            set { _sourceId = value; }
        }
        private int _uid;
        [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name = @"uid", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
        public int uid
        {
            get { return _uid; }
            set { _uid = value; }
        }
        private int _tempId;
        [global::ProtoBuf.ProtoMember(3, IsRequired = true, Name = @"tempId", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
        public int tempId
        {
            get { return _tempId; }
            set { _tempId = value; }
        }
        private pb.PBVector3 _pos;
        [global::ProtoBuf.ProtoMember(4, IsRequired = true, Name = @"pos", DataFormat = global::ProtoBuf.DataFormat.Default)]
        public pb.PBVector3 pos
        {
            get { return _pos; }
            set { _pos = value; }
        }
        private pb.PBVector3 _dir = default(pb.PBVector3);
        [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name = @"dir", DataFormat = global::ProtoBuf.DataFormat.Default)]
        [global::System.ComponentModel.DefaultValue(default(pb.PBVector3))]
        public pb.PBVector3 dir
        {
            get { return _dir; }
            set { _dir = value; }
        }
        private global::ProtoBuf.IExtension extensionObject;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
        { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
    }
}
